<?xml version="1.0" encoding="UTF-8"?>
<definitions
  xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
  xmlns:camunda="http://camunda.org/schema/1.0/bpmn"
  targetNamespace="Examples">

  <process id="callingProcess" isExecutable="true">
    <startEvent id="start" />
    <sequenceFlow id="flow1" sourceRef="start" targetRef="callActivity" />
    <callActivity id="callActivity" calledElement="calledProcess">
      <extensionElements>
        <camunda:out sourceExpression="${processVariableBean.newValue}" target="var" />
      </extensionElements>
    </callActivity>
    <sequenceFlow id="flow2" sourceRef="callActivity" targetRef="afterCallActivity" />
    <userTask id="afterCallActivity" />
    <sequenceFlow id="flow3" sourceRef="afterCallActivity" targetRef="end" />
    <endEvent id="end" />
  </process>

</definitions>
